﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace Abreu.Profile.ObjectClasses
{
    public class SectionPropertiesProfile
    {
        #region Class Members
        private int _sectionId;
        private int _propertyId;
        private String _valueSectionProperty;
        private String _notesSectionProperty;
        private DateTime? _beginDateSectionProperty;
        private DateTime? _endDateSectionProperty;
        private PropertySection _propertySection;
        #endregion 

        #region Properties
        public int SectionId
        {
            get { return _sectionId; }
            set { _sectionId = value; }
        }

        public int PropertyId
        {
            get { return _propertyId; }
            set { _propertyId = value; }
        }

        public String ValueSectionProperty
        {
            get { return _valueSectionProperty; }
            set { _valueSectionProperty = value; }
        }

        public String NotesSectionProperty
        {
            get { return _notesSectionProperty; }
            set { _notesSectionProperty = value; }
        }

        public DateTime? BeginDateSectionProperty
        {
            get { return _beginDateSectionProperty; }
            set { _beginDateSectionProperty = value; }
        }

        public DateTime? EndDateSectionProperty
        {
            get { return _endDateSectionProperty; }
            set { _endDateSectionProperty = value; }
        }

        public PropertySection PropertySection
        {
            get { return _propertySection; }
            set { _propertySection = value; }
        }
        #endregion

        #region Constructor
        public SectionPropertiesProfile(int sectionId, int propertyId, String valueSectionProperty, String notesSectionProperty,
                                    DateTime? beginDateSectionProperty, DateTime? endDateSectionProperty, PropertySection propertySection)
        {
            SectionId = sectionId;
            PropertyId = propertyId;
            ValueSectionProperty = valueSectionProperty;
            NotesSectionProperty = notesSectionProperty;
            BeginDateSectionProperty = beginDateSectionProperty;
            EndDateSectionProperty = endDateSectionProperty;
            PropertySection = propertySection;
        } 
	    #endregion
    }
}
